package controlLayer;

import modelLayer.Customer;
import dbLayer.DBCustomer;
import dbLayer.DBCustomerIF;

public class CustomerCtr {
	
	private DBCustomerIF dbCustomerIF;
	
	public CustomerCtr() {
		
		this.dbCustomerIF = new DBCustomer();
		
	}
	
	public Customer findCustomerID(int customerID) {
		
		return this.dbCustomerIF.findCustomerID(customerID);
		
	}
	
	public Customer findCustomerName(String customerName) {
		
		return this.dbCustomerIF.findCustomerName(customerName);
		
	}
	
}
